//
//  MDSVTModel.h
//  OTIS_PJ
//
//  Created by 杜亚伟 on 2017/2/28.
//  Copyright © 2017年 sunzeboy. All rights reserved.
//

#import <Foundation/Foundation.h>
@class MDSVTModelDetail;
@class MDSVTLastModel;
@class MDSVTErrorData;
@class MDDriveLDataModel;
@class MDDriveBDataModel;
@class MDDriveL;
@class MDDriveCurrentInfo;
@class MDDriveBlbs;
@class MDDriveBdbs;
@class MDDriveBlcr;
@class MDDriveBdcr;
@class MDDriveUp;
@class MDDriveDown;
@interface MDSVTModel : NSObject

@property(nonatomic,strong) MDSVTModelDetail* Controller;

@property(nonatomic,strong) MDSVTLastModel* Drive;

@property (nonatomic,copy) NSString* svtControllerVersion;

@property (nonatomic,copy) NSString* svtDriveVersion;

@property(nonatomic,assign) BOOL controllerIsCompalte;

@property(nonatomic,assign) BOOL driveIsCompalte;

@end


@interface MDcontrollerDetail : NSObject

@property (nonatomic,copy) NSString* EventNumber;

@property (nonatomic,copy) NSString* EventSubcode;

@property (nonatomic,copy) NSString* TextOfEvent;

@property (nonatomic,copy) NSString* Counter;

@property (nonatomic,copy) NSString* ElapsedTime;

@property (nonatomic,copy) NSString* CarPosition;

@end

@interface MDSVTEventModel : NSObject

@property (nonatomic,copy) NSString* EventNumber;

@property (nonatomic,copy) NSString* EventName;

@property (nonatomic,copy) NSString* ElapsedTime;
@end


@interface MDSVTErrorData : NSObject

@property (nonatomic,copy) NSString* Step;

@property (nonatomic,copy) NSString* ErrorCode;
@end

@interface MDSVTModelDetail : NSObject

@property (nonatomic,strong) id SoftwareBaselineVersion;

@property (nonatomic,strong) id SCN;

@property (nonatomic,copy) NSString* NumberOfRuns;

@property (nonatomic,copy) NSString* ElapsedMinutes;

@property(nonatomic,strong) NSArray* ControllerEvents;

@property (nonatomic,copy) NSString* IsEventLogComplete;

@property (nonatomic,strong) id ErrorData;

@end


@interface MDMetrics : NSObject

@property (nonatomic,copy) NSString* MetricName;

@property (nonatomic,copy) NSString* Value;

@end


@interface MDSVTLastModel : NSObject

@property (nonatomic,strong) id SoftwareBaselineVersion;

@property (nonatomic,strong) id SCN;

@property (nonatomic,copy) NSString* ElapsedTime;

@property(nonatomic,strong)MDDriveLDataModel *LData;

@property(nonatomic,strong)MDDriveBDataModel *BData;

@property (nonatomic,copy) NSString* IsEventLogComplete;

@property (nonatomic,strong) NSArray* DriveEvents;

@property (nonatomic,strong) NSArray* SavedDriveEvents;

@property (nonatomic,strong) id ErrorData;

@property(nonatomic,strong) NSArray* Metrics;
@end

@interface MDDriveLDataModel : NSObject

@property (nonatomic, copy) NSString *LatchedCount;

@property (nonatomic, copy) NSString *CNT_D;

@property (nonatomic, copy) NSString *LastTS;

@property(nonatomic,strong)NSArray <MDDriveL *>*L;

@end

@interface MDDriveBDataModel : NSObject

@property (nonatomic, copy) NSString *LatchedCount;

@property (nonatomic, copy) NSString *CNT_D;

@property (nonatomic, copy) NSString *LastTS;

@property(nonatomic,strong) MDDriveCurrentInfo *Current_info;

@property(nonatomic,strong) MDDriveBlbs *BL_BS;

@property(nonatomic,strong) MDDriveBdbs *BD_BS;

@property(nonatomic,strong) MDDriveBlcr *BL_CR;

@property(nonatomic,strong) MDDriveBdcr *BD_CR;

@property(nonatomic,strong) MDDriveUp   *Up;

@property(nonatomic,strong) MDDriveDown *Down;

@end

@interface MDDriveL : NSObject

@property (nonatomic, copy) NSString *L;

@property (nonatomic, copy) NSString *G_CNT;

@property (nonatomic, copy) NSString *Y_CNT;

@property (nonatomic, copy) NSString *R_CNT;

@property (nonatomic, copy) NSString *Y1;

@property (nonatomic, copy) NSString *Y2;

@property (nonatomic, copy) NSString *R1;

@property (nonatomic, copy) NSString *R2;

@property (nonatomic, copy) NSString *G_CNT_R;

@property (nonatomic, copy) NSString *Y_CNT_R;

@property (nonatomic, copy) NSString *R_CNT_R;

@property (nonatomic, copy) NSString *Y1_R;

@property (nonatomic, copy) NSString *Y2_R;

@property (nonatomic, copy) NSString *R1_R;

@property (nonatomic, copy) NSString *R2_R;

@end



@interface MDDriveUp : NSObject

@property (nonatomic, copy) NSString *Max;

@property (nonatomic, copy) NSString *Av;

@property (nonatomic, copy) NSString *Ave_RAM;

@property (nonatomic, copy) NSString *Min_RAM;

@property (nonatomic, copy) NSString *Min;

@property (nonatomic, copy) NSString *Max_RAM;

@end

@interface MDDriveCurrentInfo : NSObject

@property (nonatomic, copy) NSString *Runs_SR;

@property (nonatomic, copy) NSString *Runs_D;

@property (nonatomic, copy) NSString *BL_BC;

@property (nonatomic, copy) NSString *TUP;

@property (nonatomic, copy) NSString *BD_BC;

@property (nonatomic, copy) NSString *TDN;

@property (nonatomic, copy) NSString *BL_BS;

@property (nonatomic, copy) NSString *BD_BS;

@end

@interface MDDriveDown : NSObject

@property (nonatomic, copy) NSString *Max;

@property (nonatomic, copy) NSString *Ave_RAM;

@property (nonatomic, copy) NSString *Min_RAM;

@property (nonatomic, copy) NSString *Min;

@property (nonatomic, copy) NSString *Max_RAM;

@property (nonatomic, copy) NSString *Ave;

@end

@interface MDDriveBlcr : NSObject

@property (nonatomic, copy) NSString *Max;

@property (nonatomic, copy) NSString *Ave_RAM;

@property (nonatomic, copy) NSString *Min_RAM;

@property (nonatomic, copy) NSString *Min;

@property (nonatomic, copy) NSString *Max_RAM;

@property (nonatomic, copy) NSString *Ave;

@end

@interface MDDriveBlbs : NSObject

@property (nonatomic, copy) NSString *Max;

@property (nonatomic, copy) NSString *Ave_RAM;

@property (nonatomic, copy) NSString *Min_RAM;

@property (nonatomic, copy) NSString *Min;

@property (nonatomic, copy) NSString *Max_RAM;

@property (nonatomic, copy) NSString *Ave;

@end

@interface MDDriveBdcr : NSObject

@property (nonatomic, copy) NSString *Max;

@property (nonatomic, copy) NSString *Ave_RAM;

@property (nonatomic, copy) NSString *Min_RAM;

@property (nonatomic, copy) NSString *Min;

@property (nonatomic, copy) NSString *Max_RAM;

@property (nonatomic, copy) NSString *Ave;

@end

@interface MDDriveBdbs : NSObject

@property (nonatomic, copy) NSString *Max;

@property (nonatomic, copy) NSString *Ave_RAM;

@property (nonatomic, copy) NSString *Min_RAM;

@property (nonatomic, copy) NSString *Min;

@property (nonatomic, copy) NSString *Max_RAM;

@property (nonatomic, copy) NSString *Ave;

@end

